// ****************************************************************************** 
// Copyright     :  Copyright (C) 2018, Hisilicon Technologies Co. Ltd.
// File name     :  cmpa_reg_offset_field.h
// Project line  :  K3
// Department    :  K3
// Author        :  Huawei
// Version       :  V100
// Date          :  2015/4/10
// Description   :  HiVcodecV100 VDEC
// Others        :  Generated automatically by nManager V4.2 
// History       :  Huawei 2018/04/10 10:02:42 Create file
// ******************************************************************************

#ifndef __CMPA_REG_OFFSET_FIELD_H__
#define __CMPA_REG_OFFSET_FIELD_H__

#define CMPA_YSTADDR_LEN    32
#define CMPA_YSTADDR_OFFSET 0

#define CMPA_UVOFFSET_LEN    32
#define CMPA_UVOFFSET_OFFSET 0

#define CMPA_YSTRIDE_LEN    20
#define CMPA_YSTRIDE_OFFSET 0

#define CMPA_LINE_NUM_STADDR_LEN    32
#define CMPA_LINE_NUM_STADDR_OFFSET 0

#define CMPA_CMP_LINE_LEVEL_LEN    32
#define CMPA_CMP_LINE_LEVEL_OFFSET 0

#define CMPA_CTB_SIZE_LEN                     3
#define CMPA_CTB_SIZE_OFFSET                  27
#define CMPA_PROTOCOL_LEN                     4
#define CMPA_PROTOCOL_OFFSET                  23
#define CMPA_FRM_CMP_EN_LEN                   1
#define CMPA_FRM_CMP_EN_OFFSET                22
#define CMPA_PIC_HEIGHT_OTHER_PROTOCOL_LEN    11
#define CMPA_PIC_HEIGHT_OTHER_PROTOCOL_OFFSET 11
#define CMPA_PIC_WIDTH_OTHER_PROTOCOL_LEN     11
#define CMPA_PIC_WIDTH_OTHER_PROTOCOL_OFFSET  0

#define CMPA_PIC_HEIGHT_H265_PROTOCOL_LEN    15
#define CMPA_PIC_HEIGHT_H265_PROTOCOL_OFFSET 16
#define CMPA_PIC_WIDTH_H265_PROTOCOL_LEN     15
#define CMPA_PIC_WIDTH_H265_PROTOCOL_OFFSET  0

#define CMPA_PIC_HEIGHT_IN_SAMPLE_LEN    15
#define CMPA_PIC_HEIGHT_IN_SAMPLE_OFFSET 16
#define CMPA_PIC_WIDTH_IN_SAMPLE_LEN     15
#define CMPA_PIC_WIDTH_IN_SAMPLE_OFFSET  0

#define CMPA_PIC_STRUCTURE_LEN      2
#define CMPA_PIC_STRUCTURE_OFFSET   9
#define CMPA_CMP_LINEAR_MODE_LEN    1
#define CMPA_CMP_LINEAR_MODE_OFFSET 8
#define CMPA_Y_BITDEPTH_LEN         4
#define CMPA_Y_BITDEPTH_OFFSET      4
#define CMPA_C_BITDEPTH_LEN         4
#define CMPA_C_BITDEPTH_OFFSET      0

#define CMPA_HEAD_INF_SIZE_LEN    32
#define CMPA_HEAD_INF_SIZE_OFFSET 0

#define CMPA_O_ICE_SHARE_EXT_LEN    32
#define CMPA_O_ICE_SHARE_EXT_OFFSET 0

#define CMPA_HEAD_STRIDE_LEN    20
#define CMPA_HEAD_STRIDE_OFFSET 0

#define CMPA_SEMI_PLANAR_EN_LEN     1
#define CMPA_SEMI_PLANAR_EN_OFFSET  5
#define CMPA_BIT10_2BIT_DIS_LEN     1
#define CMPA_BIT10_2BIT_DIS_OFFSET  4
#define CMPA_BIT10_EXPAND_16_LEN    1
#define CMPA_BIT10_EXPAND_16_OFFSET 3
#define CMPA_FRM_CMP_EN_LEN         1
#define CMPA_FRM_CMP_EN_OFFSET      2
#define CMPA_CMP_LINEAR_MODE_LEN    1
#define CMPA_CMP_LINEAR_MODE_OFFSET 1
#define CMPA_AFBC_WORK_EN_LEN       1
#define CMPA_AFBC_WORK_EN_OFFSET    0

#define CMPA_CUR_ST_WTBUF_LEN    3
#define CMPA_CUR_ST_WTBUF_OFFSET 24
#define CMPA_CUR_ST_OBUF_LEN     3
#define CMPA_CUR_ST_OBUF_OFFSET  16
#define CMPA_CUR_ST_RIBUF_LEN    3
#define CMPA_CUR_ST_RIBUF_OFFSET 8
#define CMPA_CUR_ST_WIBUF_LEN    2
#define CMPA_CUR_ST_WIBUF_OFFSET 0

#endif // __CMPA_REG_OFFSET_FIELD_H__
